package com.zzx.auth.model.dto;

import com.zzx.auth.model.SysUser;

import java.io.Serializable;
import java.util.Set;

/**
  * 用户信息封装
  */
public class UserInfo implements Serializable
{
   private static final long serialVersionUID = 1L;

   /**
    * 用户基本信息
    */
   private SysUser sysUser;

   /**
    * 权限标识集合
    */
   private Set<String> permissions;

   /**
    * 角色集合
    */
   private Set<String> roles;

   public SysUser getSysUser()
   {
       return sysUser;
   }

   public void setSysUser(SysUser sysUser)
   {
       this.sysUser = sysUser;
   }

   public Set<String> getPermissions()
   {
       return permissions;
   }

   public void setPermissions(Set<String> permissions)
   {
       this.permissions = permissions;
   }

   public Set<String> getRoles()
   {
       return roles;
   }

   public void setRoles(Set<String> roles)
   {
       this.roles = roles;
   }

}
